/* 
Author: Mike truong
Date: 7/12/2014 16:40 PM
Description: Test ambassador card effect inside dominion.c
 */

#include "dominion.h"
#include "dominion_helpers.h"
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "rngs.h"

int main( int argc, char **argv)
{
	int card = ambassador;
	int choice1 = 1;
	int choice2 = 4;
	int bonus = 1;
	struct gameState state;
	state.whoseTurn = 1;
	state.numPlayers = 3;
	state.deckCount[tate.whoseTurn] = 5;
	state.hand[state.whoseTurn][choice1] = 1;
	if(cardEffect(card,choice1,choice2,1, &state, 1, &bonus) !=-1)
		printf( "Returned valueis -1, error in cardEffect or error inside ambassador function");

	if(cardEffect(card,choice1,choice2,1,&state,1,&bonus) = -1)
		printf( "Test Complete SUCCESS");



	return 0; 
}
